import click

from app import create_app


@click.command()
@click.option('--host', default='0.0.0.0', help='binding host default: 0.0.0.0')
@click.option('--port', default=5000, help='binding port default: 5000')
def run(host, port):
    app = create_app()
    app.run(host=host, port=port, debug=False)


if __name__ == '__main__':
    run()
